Rational Software Architect RealTime Edition (RSARTE) enables you to decide whether some parts of a diagram are shown or filtered out by setting filtering preferences. Disabling a preference filters the part out to avoid cluttered diagrams.  Diagrams open faster and are easier to work with when less information is rendered. There are two kinds of diagram filtering preferences:

1) Workspace preferences apply for all diagrams in the workspace where they are stored. These preferences are set by the reader of a diagram, since changing the preferences does not require the model to be modified. These preferences are in the preference pages for the different kinds of diagrams that are used in RT models (UML Development - Real Time - Diagrams - Class / State Chart / Structure).

2) Model preferences apply only to the diagram where they are stored. These preferences are set by the author of a diagram, since changing the preferences requires the model to be modified. These preferences are in the Appearance tab of the Properties view when a class, state chart, or structure diagram is selected. You must set the preference UML Development - Real Time - Diagrams - Persist workspace filters for these preferences to be saved in your model. If the preference is not set, the filtering preference you set in the Appearance tab does not persist and the preference is lost if you close and reopen the model project. You might use this workflow if you only want to temporarily filter a specific diagram, for example, to find something on the diagram by means of a textual search.

A filtering preference that is stored in the model takes precedence over the same filtering preference stored in the workspace. When you have stored filtering preferences in the model, you cannot remove them, except by deleting and recreating the entire diagram.

If you navigate to an element that is filtered out of a diagram, you see a visual indication where the element would be shown if it was visible. However, the diagram filter is not automatically modified to make the element visible.

Below is a brief description of the available filtering preferences for each kind of diagram:

Class Diagrams

​Whether the multiplicity of association ends are shown.

​Whether the constraints of association ends are shown.

​Whether the qualifiers of association ends are shown.

​Whether the names of relationships (associations, generalizations, and so on) are shown.

​Whether the role names (for example, the names of association ends) are shown.

​Whether the stereotypes that are applied on relationships are shown.

Structure Diagrams

​Whether the roles (for example, attributes other than capsule parts) are shown.

​Whether the names of all attributes (both roles and capsule parts) are shown.

​Whether the types of all attributes (both roles and capsule parts) are shown.

Whether the labels that show the names of connectors are shown.

​Whether the labels that show the names of ports are shown. This preference does not apply for ports that are located on parts; for such ports, use the "Show Port on Part name labels".

​Whether the types (for example, the protocols) of ports are shown. This preference applies to all kinds of ports.

​Whether the "lollipop" decorations that might decorate ports are shown.

​Whether the labels that show the names of ports that are located on parts are shown.

​Whether all service ports are shown.

​Whether all non-service ports are shown.

State Chart Diagrams

​Whether names of junction and entry or exit points are shown.

​Whether names of choice points are shown.

​Whether names of states are shown.

​Whether names of transitions are shown.

​Whether internal transitions defined on the enclosing composite state are shown. The ability to show such internal transitions using dashed lines in a state chart diagram is an RSARTE specific extension to UML.

​Whether the transition effects are shown. Showing transition effects often makes the diagram cluttered unless those code snippets are very small and few. The blue "ball-like" decorator is not filtered out so you can still notice the presence of transition effects even if the effect code is filtered out.

​Whether the guards of transitions and triggers are shown. Just like for transition effects, it is often a good idea to filter out guards to avoid cluttering the diagram. The yellow "ball-like" decorator is not filtered out so you can still notice the presence of the guards even if the guard code snippets themselves are not shown.

​Whether the events that trigger transitions are shown. If you filter out the transition events, you also implicitly filter out the trigger parameters and ports.

​Whether the parameters of events that trigger transitions are shown. This preference only has an effect if "Show Transition Events" is enabled.

​Whether the ports of transition triggers are shown. This preference only has an effect if "Show Transition Events" is enabled.